package flash.printing;

extern class PrintJob extends flash.events.EventDispatcher
{
	static var active(default, null):Bool;
	static var isSupported(default, null):Bool;
	static var supportsPageSetupDialog(default, null):Bool;
	static var printers(default, null):flash.Vector<String>;
	function start():Bool;
	function send():Void;
	function addPage(sprite:flash.display.Sprite, printArea:flash.geom.Rectangle = null, options:flash.printing.PrintJobOptions = null, frameNum:Int = 0):Void;
	function showPageSetupDialog():Bool;
	function selectPaperSize(paperSize:flash.printing.PaperSize):Void;
	function start2(uiOptions:flash.printing.PrintUIOptions = null, showPrintDialog:Bool = true):Bool;
	function terminate():Void;
	var firstPage(default, null):Int;
	var pageWidth(default, null):Int;
	var printer:String;
	var orientation:flash.printing.PrintJobOrientation;
	var jobName:String;
	var maxPixelsPerInch(default, null):Float;
	var isColor(default, null):Bool;
	var lastPage(default, null):Int;
	var copies:Int;
	var paperHeight(default, null):Int;
	var paperArea(default, null):flash.geom.Rectangle;
	var paperWidth(default, null):Int;
	var pageHeight(default, null):Int;
	var printableArea(default, null):flash.geom.Rectangle;
	function new():Void;
}